package com.example.android.ui.me.user.carinfo;

import androidx.lifecycle.LiveData;
import androidx.lifecycle.ViewModel;

import com.example.android.bean.AddCar;
import com.example.android.bean.BaseModelTable;
import com.example.android.utils.api.BackApi;
import com.example.android.utils.NetUtil;

public class CarViewModel extends ViewModel {

    public LiveData<BaseModelTable<AddCar>> getCarList() {
        return NetUtil.INSTANCE.get(NetUtil.INSTANCE.getBaseUrlDev()).create(BackApi.class).carList();
    }
}